package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * TODO
 *
 * @Author mr.wu
 * @Data #{DATE} #{TIME}
 */
@Mapper
public interface SetmealDishMapper {

    List<SetmealDish> getSetmealDish(Integer id);

    @AutoFill(OperationType.INSERT)
    void add(SetmealDish s);

    List<SetmealDish> getBySetmealId(Long id);

    void delete(Long id);
}
